<#include "../common/head.ftl" />
<#include "../common/page.ftl" />
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>权限信息列表</title>
	<@comme_head />
	<@comme_table />
</head>
<body>
<@comme_header />
<div class="main clearfix" id="main">
	<@comme_daohang />
    <div class="right-content">
        <div class="content">
            <div id="container">
                <div class="box-1">
                	<form method="post" action="/manager/power_queryPage">
	                    <input type="text" value="${name!}" name="name" placeholder="搜索" class="search">
	                    <input  class="fangdajing" class="formsubmit" type="submit">
                    </form>
                </div>
                <a href="/manager/power_edit">
                	<div class="tianjia">添加</div>
                </a>
                <table class="zebra">
                    <caption>权限信息表</caption>
                    <thead>
                    <tr>
                        <th>权限名称</th>
                        <th>权限地址</th>
                        <th>等级</th>
                        <th>创建时间</th>
                        <th>修改时间</th>
                        <th>备注</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <#if data?size != 0>
                    <#list data as being>
						<tr>
						   <td>${being.name!}</td>
						   <td>${being.poweraddr!}</td>
						   <td>${being.level!}</td>
						   <td>${being.create_time!}</td>
						   <td>${being.update_time!}</td>
						   <td>${being.remarks}</td>
						   <td>
						   		<a href="/manager/power_edit?id=${being.id!}">更改</a>
						   		<a href="/manager/power_remove?id=${being.id!}">删除</a>
						   </td>
						</tr>
					</#list>
					<#else>
	                	<tr>
	                        <td colspan="7">没有相关数据</td>
	                    </tr>
	                </#if>
					 <tr>
						<td colspan="7">
							<div class="pages">
								<@page pageid="" url="/manager/power_queryPage?name=${name!}&&currentpageno=" />
							</div>
						</td>
					</tr>
                    </tbody>
                </table>

            </div>
        </div>
    </div>
</div>
</body>
</html>